package com.cp.autoconfigure;

import com.cp.util.LogBuilder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * nacos启动成功日志
 *
 * @author YangXiaoLong
 * 2022/8/5 0:31
 */
@EnableDiscoveryClient
@Slf4j
public class CpNacosDiscoveryAutoConfiguration implements InitializingBean {
    private static final String START_TAG = "nacos服务注册成功";

    @Override
    public void afterPropertiesSet() {
        log.info(START_TAG);
    }
}
